package org.shiro;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cache.annotation.EnableCaching;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import org.springframework.web.bind.annotation.CrossOrigin;

/** @author HKC */
@SpringBootApplication
@EnableCaching
@MapperScan(value = "org.shiro.dao")
@EnableTransactionManagement
@CrossOrigin
public class SpringBootShiroApplication {

  public static void main(String[] args) {
    SpringApplication.run(SpringBootShiroApplication.class, args);
  }
}
